<div class="treeHeader">Študenti</div>
<ul class="searchAble">			
	<?php foreach($this->students as $student):?>
		<li>
			<a href="#" onClick="javascript:$.post(
			'<?php echo $this->url(array(
						'controller' => 'result',
						'action' => 'show-user',
						'format' => 'html')) 
			?>',
			{							
			id: <?php echo $student->ID_st; ?>						
			},
			function(result){						
				$('.dataContainer').html(result);
			});
			$('.selected').removeClass('selected');		
			$(this).parent('li').addClass('selected');">
			<?php echo $student['Prijmeni'] . ' ' . $student['Jmeno'];?>													
			</a>
		</li>				
		<?php endforeach;?>
</ul>